QT       += core gui sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


QXLSX_PARENTPATH=./         # current QXlsx path is . (. means curret directory)
QXLSX_HEADERPATH=./QXlsx/header/  # current QXlsx header path is ./header/
QXLSX_SOURCEPATH=./QXlsx/source/  # current QXlsx source path is ./source/
include(./QXlsx/QXlsx.pri)

SOURCES += \
    main.cpp \
    main_interface.cpp \
    operate_login_information.cpp \
    student_information_dialog.cpp \
    teacher_information_dialog.cpp

HEADERS += \
    create_connection.h \
    global_variant.h \
    main_interface.h \
    operate_login_information.h \
    read_only_delegate.h \
    student_information_dialog.h \
    teacher_information_dialog.h

FORMS += \
    main_interface.ui \
    student_information_dialog.ui \
    teacher_information_dialog.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    Image.qrc
